package ue.client.planets;

import org.newdawn.slick.Color;
import org.newdawn.slick.Image;

import ue.client.core.Renderable;
import ue.client.core.Tickable;
import ue.client.core.Vector2i;
import ue.client.entities.StaticEntity;
import ue.client.planets.tiles.Tile;
import ue.client.planets.tiles.TileGraphic;

public class Planet extends StaticEntity implements Renderable, Tickable {

	protected Image planetInGalaxy;
	protected int planetWidth, planetHeight;	//tile grid
	protected boolean removed;
	
	public Planet(Vector2i pos, Vector2i size) {
		super(pos, size);
	}
	
	@Override
	public void tick() {
		
	}
	
	@Override
	public void render() {
		
	}

	@Override
	public boolean isRemoved() {
		return removed;
	}

    /**
     * Specifies all tiles and adds them to the TileRenderer.tiles array.
     */
    public void addTiles() {
        new Tile(new TileGraphic(32, 32, Color.darkGray), 0xff000000, false, true);
        new Tile(new TileGraphic(32, 32, Color.lightGray), 0xffffffff, false, true);
        new Tile(new TileGraphic(32, 32, Color.green), 0xff00ff00, false, true);
    }
	
}
